import json

# 已有的数据
audio_track_clips = [
    {
        "MediaURL": "http://ecdemo01.oss-cn-hangzhou.aliyuncs.com/2.MP3",
        "TimelineIn": 3.256,
        "TimelineOut": 4.672
    },
    {
        "MediaURL": "http://ecdemo01.oss-cn-hangzhou.aliyuncs.com/1.MP3",
        "TimelineIn": 7.031,
        "TimelineOut": 8.682
    },
    {
        "MediaURL": "http://ecdemo01.oss-cn-hangzhou.aliyuncs.com/2.MP3",
        "TimelineIn": 10.097,
        "TimelineOut": 11.513
    },
    {
        "MediaURL": "http://ecdemo01.oss-cn-hangzhou.aliyuncs.com/pinio.mp3",
        "TimelineIn": 14.343,
        "TimelineOut": 15.995
    },
    {
        "MediaURL": "http://ecdemo01.oss-cn-hangzhou.aliyuncs.com/1.MP3",
        "TimelineIn": 17.646,
        "TimelineOut": 19.297
    },
    {
        "MediaURL": "http://ecdemo01.oss-cn-hangzhou.aliyuncs.com/1.MP3",
        "TimelineIn": 22.128,
        "TimelineOut": 23.779
    },
    {
        "MediaURL": "http://ecdemo01.oss-cn-hangzhou.aliyuncs.com/pinio.mp3",
        "TimelineIn": 24.723,
        "TimelineOut": 26.138
    },
    {
        "MediaURL": "http://ecdemo01.oss-cn-hangzhou.aliyuncs.com/2.MP3",
        "TimelineIn": 30.62,
        "TimelineOut": 32.036
    },
    {
        "MediaURL": "http://ecdemo01.oss-cn-hangzhou.aliyuncs.com/2.MP3",
        "TimelineIn": 32.036,
        "TimelineOut": 32.506
    }
]

# 新的数据
new_data = [
    {
        "MediaURL": "http://ecdemo01.oss-cn-hangzhou.aliyuncs.com/1.MP3",
        "TimelineIn": 0
    }
]

# 将新数据添加到已有数据中
audio_track_clips.extend(new_data)

# 输出结果
print(json.dumps(audio_track_clips, indent=4))
